import request from '@/utils/request'

// 查询人脸库配置列表
export function listFaceconfig(query) {
  return request({
    url: '/faceplus/faceconfig/list',
    method: 'get',
    params: query
  })
}

// 查询人脸库配置详细
export function getFaceconfig(id) {
  return request({
    url: '/faceplus/faceconfig/' + id,
    method: 'get'
  })
}

// 新增人脸库配置
export function addFaceconfig(data) {
  return request({
    url: '/faceplus/faceconfig',
    method: 'post',
    data: data
  })
}

// 修改人脸库配置
export function updateFaceconfig(data) {
  return request({
    url: '/faceplus/faceconfig',
    method: 'put',
    data: data
  })
}

// 删除人脸库配置
export function delFaceconfig(id) {
  return request({
    url: '/faceplus/faceconfig/' + id,
    method: 'delete'
  })
}
